<?php
class Application_Form_Mes extends Zend_Form
{
	public function init()
	{
		$selectMes = new Zend_Form_Element_Select('mes');
		$selectMes->setLabel('Mes Corrente:');
		
		$date = new Zend_Date();
		$date->get('Year');
		
		$data =	$date->toString("MM-YYYY");
		
		$selectMes->addMultiOption($data,$data);
		
		
		for($i = 1; $i <= 12; $i++)
		{
			$data =	$date->addMonth(1)->toString("MM-YYYY");
			$selectMes->addMultiOption($data,$data);
		}
		
		$textCash = new Zend_Form_Element_Text('cash');
		$textCash->setLabel('Valor Atual:');
		
		$this->addElements(array($textCash,$selectMes));
	}
}